#pragma once

#include "MGUI_Widget.h"
#include "MGUI_TextBox.h"

namespace Myway {

	class MGUI_ENTRY MGUI_Button : public MGUI_Widget
	{
		DeclareRTTI();

	public:
		MGUI_Button(const MGUI_LookFeel * _lookfeel, MGUI_Widget * _parent);
		virtual ~MGUI_Button();

		void SetCaption(const MGUI_String & caption);
		const MGUI_String & GetCaption();

		void SetFont(MGUI_Font * font);
		MGUI_Font * GetFont();

	protected:
		bool mMousePressed;
		MGUI_TextBox * mTextBox;
	};

}